import request from './Http';

// 获取轮播图数据
export function getBanner(){
    return request({
        url:'/banner?type=2',
        method:'get'
    })
}

//获取推荐歌单
export function getRecommendedSong(){
    return request({
        url:'/personalized?',
         method:'get'
    })
}
// 所有榜单
export function getTopList(){
    return request({
        url:"/toplist",
        method:"get"
    })
}

// 所有榜单数据详情
export function getPlayListDetail(params){
    return request({
        url:"/playlist/detail",
        method:"get",
        params
    })
}
